package com.mediatecture.flex.component
{
	import flash.events.Event;
	import flash.net.URLLoader;

	public class CustomUrlLoader extends URLLoader
	{
		private var _imageId:Number;
		private var _name:String;
		
		public function CustomUrlLoader()
		{
			super();
			this.addEventListener(Event.COMPLETE, handleComplete);
		}
		
		protected function handleComplete(event:Event):void
		{
			dispatchEvent(new CustomUrlLoaderCompletedEvent("completed123", this));
		}

		public function get imageId():Number
		{
			return _imageId;
		}

		public function set imageId(value:Number):void
		{
			_imageId = value;
		}

		public function get name():String
		{
			return _name;
		}

		public function set name(value:String):void
		{
			_name = value;
		}


	}
}